package net.noday.demo.service;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

public interface ITestService {

	@PostConstruct
	//��ʼ������
	public abstract void init();

	@PreDestroy
	//��ٷ���������ʹ��
	public abstract void destory();

	public abstract boolean save(String name);

	public abstract void update(String name, Integer personid);

	public abstract String getName(Integer personid);
	
	public abstract String getUser();

	public abstract void setUser(String user);

}